<#if dbType == 'mysql'>
CREATE TABLE ${tableName}(
    <#list columnList as columnListItem>
    ${columnListItem.columnName} ${columnListItem.columnType} <#if columnListItem.notNullFlag == true>NOT NULL</#if> COMMENT '${columnListItem.columnComment}'<#if columnListItem_has_next || appendPrimaryKey == true>,</#if>
    </#list>
    <#if appendPrimaryKey == true>PRIMARY KEY(${primaryKeyName})</#if>
) COMMENT '${tableComment}';
</#if>